#ifndef FRIENDDELETE_H
#define FRIENDDELETE_H

#include <QMainWindow>
#include <QTcpSocket>
#include <QMainWindow>
#include <QDebug>
#include <QDialog>
#include <QTcpSocket>
#include <QMessageBox>
#include <QListWidget>
#include<QListWidgetItem>
#include "uidesign.h"
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonParseError>
#include <QJsonValue>
#include <QJsonValuePtr>
#include <QJsonValueRef>
#include <QJsonValueRefPtr>
namespace Ui {
class frienddelete;
}

class frienddelete : public QMainWindow
{
    Q_OBJECT

public:
    explicit frienddelete(QWidget *parent = 0);
    explicit frienddelete(QTcpSocket * s, QString Id, QWidget *parent = 0);
    ~frienddelete();

private slots:
    void on_deleteID_clicked();
    void recv();
    void on_cancel_clicked();

private:
    Ui::frienddelete *ui;
    QTcpSocket * sock;
    QString ID;
    QString unid;
signals:
    void deletefriendclose(QString);
};

#endif // FRIENDDELETE_H
